<?php
//$recup=mysql_query("SELECT * FROM recupemails WHERE Etat='oui' ORDER BY idEmail") or die (mysql_error());
$recup=mysql_query("SELECT * FROM infos_news WHERE idNews='$idNews'") or die(mysql_error());
$dataRE=mysql_fetch_assoc($recup);
$nbmails=$dataRE['EmailSent'];
//$nbmails=mysql_num_rows($recup);
echo $nbmails;
?>